<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/picnet.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.6.custom.min.js"></script>
  <link rel="StyleSheet" href="css/jquery-ui-1.8.6.custom.css" type="text/css">
<script type="text/javascript" src="js/javascript.js"></script>
<link rel="StyleSheet" href="css/style.css" type="text/css">
<title>he thong dat phong</title>
</head>
<body>
<div id="all">
  <div id="wrapper">
  	<div id="top">
  		<tiles:insertTemplate template="/newheader1.jsp"></tiles:insertTemplate>
  	</div><!-- end #top -->
  	<div id="x_content">
  		<div class="vach_ngan">			
		</div><!-- end .vach_ngan -->
		<div id="x_content_b">
  		<div id="x_content_t">
  			<div class="x_content_t_1"></div>
  			<div class="x_content_t_2"></div>
  			<div class="clear"></div>
  		</div><!-- #x_content_t -->
  		<div id="s_content">
			<div id="x_content_left">
				<tiles:insertTemplate template="/left.jsp"></tiles:insertTemplate>
			</div><!-- end #x_content_left -->
			<div id="x_content_right">
				<div class="x_content_right_title">
					<div class="x_content_right_title_t"><span>会議室を予約する状態</span></div>
					<div class="x_content_right_title_c"></div>
					<div class="clear"></div>
				</div><!-- end .x_content_right_title -->
				<div class="x_content_right_main">
					<s:if test="listYoyaku.size()>0"> 
					<table cellpadding="0" cellspacing="0" border="1" bordercolor="#d6d6d6">
						<tbody>
							<tr>
								<th>順</th>
								<th>予約コード</th>
								<th>会議室コード</th>
								<th>会議室名</th>
								<th>スタートタイム</th>
								<th>エンドタイム</th>
								<th>日</th>
								
								<th>使用料/分</th>
								<th>合計</th>
								<th>操作</th>
							</tr>
							<s:iterator status="stat" value="listYoyaku">
							<tr class="tr_data">
								<td class="stt"><s:property value="#stat.index+1"/></td>
								<td class="ordercd"><s:property value="orderID"/>  </td>
								<td class="roomcd"><s:property value="roomID"/></td>
								<td class="roomname"><s:property value="roomname"/></td>
								<td class="starttime"><s:property value="startTime"/></td>
								<td class="endtime"><s:property value="endTime"/></td>
								<td class="date"><s:property value="day"/></td>
								
								<td class="donvi"><s:property value="price"/></td>
								<td class="tongtien"><s:property value="cost"/></td>
								<td class="thaotac">
										 <img name="cancel_img_bt" class="cancel_img_bt" src="image/cancel.gif">
										<input type="hidden" class="ordercd_hd" name="ordercd_hd" value='<s:property value="orderID"/>'>
								</td>
							</tr>
							</s:iterator>							
						</tbody>
					</table>
					<div class="tong_datdoc">
						
					</div><!-- end .tong_datcoc -->
					</s:if> 
				</div><!-- end .x_content_right_main -->
				<div class="x_content_right_main_2">
					<table cellpadding="0" cellspacing="0" border="1" bordercolor="#d6d6d6" class="x_content_right_main_tb">
						<tbody>
							<tr>
								<th>順</th>
								<th>予約コード</th>
								<th>会議室コード</th>
								<th>会議室名</th>
								<th>スタートタイム</th>
								<th>エンドタイム</th>
								<th>日</th>
								<th>手数料</th>
								<th>使用料/分</th>
								<th>合計</th>
								<th>操作</th>
							</tr>				
						</tbody>
					</table>
				</div><!-- end .x_content_right_main_2 -->				
			</div><!-- end #x_content_right -->
			<div class="clear"></div>
		</div><!-- #s_content -->
		</div><!-- end  #x_content_b-->
	</div><!-- end #x_content -->
  	<div id="footer">
  		<tiles:insertTemplate template="/footer.jsp"></tiles:insertTemplate>
  	</div><!-- end s#footer  -->
  </div><!-- end .#wrapper -->
  </div><!-- end #all -->
</body>
</html>